import { request } from '../request.js'

// 项目各类接口
const INDEX = {
  // 获取列表数据(分页)
  selectContractlist: param => request('contract/selectContractlist', param),
  // 获取合同基本信息
  getContractByNum: param => request('contract/getContractByNum', param),
  // 获取合同账单明细
  getContractPayByNumDetail: param => request('contract/getContractPayByNumDetail', param),
  // 获取租户options
  selectTentent: param => request('contract/selectTentent', param),
  // 执行
  contractExecute: param => request('contract/contractExecute', param),
  // 中止
  contractStop: param => request('contract/contractStop', param),
  // 查询中止审批单号options
  contractStopSelect: param => request('contract/contractStopSelect', param),
  // 延期
  contractDelay: param => request('contract/contractDelay', param),
  // 结束
  contractEnd: param => request('contract/contractEnd', param),
  // 删除
  deleteContract: param => request('contract/deleteContract', param),
  // 上传相关附件
  addWenjian: param => request('contract/addWenjian', param),
  // 上传正式合同
  addWenjianhetong: param => request('contract/addWenjianhetong', param),
  // 查询合同中止审批单号下拉框 POST /contract/contractStopSelect
  contractStopSelect: param => request('contract/contractStopSelect', param)
}

export default INDEX
